package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckGroup;

import java.util.List;

/**
 * @Author: bowen
 * @Date: 2019/7/27 9:47
 * @Description:
 */
public interface CheckGroupDao {
	void add(CheckGroup checkGroup);

	void addRelationsBetweenCheckGroupAndCheckItem(Integer id, Integer checkitemid);

	Page<CheckGroup> findPage(String queryString);

	CheckGroup findById(Integer id);

	Integer[] findRelations(Integer id);

	void edit(CheckGroup checkGroup);

	void deleteRelations(Integer id);

    List<CheckGroup> findAll();


	void delete(Integer id);

}
